package com.bestcem.xm.ticket.enums;

/**
 * 工单日志工单状态
 *
 * @author liheng
 * @version v1.0
 * @date 2021/9/8 19:07
 */
public enum RecordTicketStatusEnum {


    /**
     * 工单日志工单状态-处理中
     */
    DEALING(1, "处理中"),

    /**
     * 工单日志工单状态-已关闭
     */
    CLOSED(2, "已关闭"),

    /**
     * 工单日志工单状态-处理完成
     */
    DEAL_COMPLETE(3, "处理完成"),

    /**
     * 工单日志工单状态-处理失败
     */
    DEAL_FAIL(4, "处理失败"),

    /**
     * 工单日志工单状态-答卷废弃
     */
    UN_NEED_FOLLOW(5, "无需跟进");

    private final String name;

    private final Integer index;


    RecordTicketStatusEnum(int index, String name) {
        this.name = name;
        this.index = index;
    }

}
